package com.java8feature.java8action.chapter1;

import java.util.List;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/5/16 9:13
 */
public interface Predicate<T> {

     static <T> List<T> filter(List<T> list, Predicate<T> predicate) {

        return null;
    }

    String predicate(T t);
}
